Bug 525461 - Don't invalidate under an input-only child
authorCody Russell <bratsche@gnome.org>
Sun, 25 May 2008 23:21:40 +0000 (23:21 +0000)
committerCody Russell <bratsche@src.gnome.org>
Sun, 25 May 2008 23:21:40 +0000 (23:21 +0000)
2008-05-25  Cody Russell  <bratsche@gnome.org>

        Bug 525461 - Don't invalidate under an input-only child

        * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
        Check that the window is not input-only before invalidating.
        Report and patch by Owen Taylor.

svn path=/trunk/; revision=20165

ChangeLog
gdk/x11/gdkgeometry-x11.c

index efb803ff29ef5b3eae66191b13339a24bbb09a49..2fb4ab3c63afd20db14e7f9c4b1068044f7c89d1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2008-05-25  Cody Russell  <bratsche@gnome.org>
+
+       Bug 525461 - Don't invalidate under an input-only child
+
+       * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child):
+       Check that the window is not input-only before invalidating.
+       Report and patch by Owen Taylor.
+
 2008-05-25  Cody Russell  <bratsche@gnome.org>
 
        Bug 524110 - Gdk should not assume reparenting WMs when retrieving
index 367f26c59e87e71295a7b65bccd1431075402fa9..74c46eb2bf0f41c53a5359fe0d0002791a48e04b 100644 (file)
@@ -731,7 +731,7 @@ _gdk_window_move_resize_child (GdkWindow *window,
       impl->position_info = new_info;
     }
 
-  if (GDK_WINDOW_IS_MAPPED (obj) && obj->parent)
+  if (GDK_WINDOW_IS_MAPPED (obj) && obj->parent && !obj->input_only)
     gdk_window_invalidate_rect ((GdkWindow *)obj->parent, &old_pos, FALSE);
 }